Repository navigation
fix(source-control): revert the post-merge run-listing split that exhausted the GITHUB_TOKEN pool - #11217
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
claude-security-review reviewed No security findings. critical-findings: 0 This is a revert of #11210's post-merge run-listing split. I read the whole diff, including the changes to the trusted-path files
|
|
claude-review reviewed No findings. The PR is a clean revert of #11210 plus a changelog fragment, and I found nothing to block or flag. What I checked (by reading the diff and the head files; I ran no tests):
Closing issue: the PR says "Refs: #11210" and closes no issue, so there are no acceptance criteria to check. Manifests: the diff changes no Untested behaviour (informational, not a finding): the reverted code paths lose their tests ( Cost: none. The PR removes GITHUB_TOKEN API calls and adds no paid resource. |
Refs: #11210
Summary
Reverts #11210. With demotion record #11153 open, the post-merge floor falls back to 2026-10-21. #11210's run-listing split then let the check read every run since that floor: about 1,700 GITHUB_TOKEN calls per check. That exhausted the core pool and tripped the breaker at 09:23:30Z.
Fix
A plain
git revertof ae3472c, plus a changelog fragment. The check goes back to stopping as unreadable at the 1,000-run search cap, and each candidate re-runs it again. That re-run is slow, but it costs about 49 calls, not about 1,700.Metrics
pr-merge.yml github-token calls, from the jobs'
api-callsannotations:actions/runs/{}, 614actions/artifacts).Verification
scripts/check-changelog-fragments.sh --check-required origin/mainpasses.Related
per_page=1total_count probe, and a bound on the per-run reads over a wide window, before it can be safe.🤖 Generated with Claude Code